package com.restaurant.bean;


import java.util.Date;

/**
 * 类目录
 * @author OUOrder
 */
public class Catalog {
    //类目录id
    private int catalogId;
    //类名称
    private String catalogName;
    //创建时间
    private Date catalogCreateTime;
    //上一次更新时间
    private Date catalogUpdateTime;

    public Catalog() {
     }

    public Catalog(int catalogId, String catalogName, Date catalogCreateTime, Date catalogUpdateTime) {
        this.catalogId = catalogId;
        this.catalogName = catalogName;
        this.catalogCreateTime = catalogCreateTime;
        this.catalogUpdateTime = catalogUpdateTime;
    }

    public int getCatalogId() {
        return catalogId;
    }

    public void setCatalogId(int catalogId) {
        this.catalogId = catalogId;
     }

    public String getCatalogName() {
         return catalogName;
    }

  public void setCatalogName(String catalogName) {
    this.catalogName = catalogName;
  }

  public Date getCatalogCreateTime() {
    return catalogCreateTime;
  }

  public void setCatalogCreateTime(Date catalogCreateTime) {
    this.catalogCreateTime = catalogCreateTime;
  }

  public Date getCatalogUpdateTime() {
    return catalogUpdateTime;
  }

  public void setCatalogUpdateTime(Date catalogUpdateTime) {
    this.catalogUpdateTime = catalogUpdateTime;
  }

    @Override
    public String toString() {
        return "Catalog{" +
                "catalogId=" + catalogId +
                ", catalogName='" + catalogName + '\'' +
                ", catalogCreateTime=" + catalogCreateTime +
                ", catalogUpdateTime=" + catalogUpdateTime +
                '}';
    }
}
